package com.violet.detective.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;

/**
 * 
 * @TableName Repair
 */
@TableName(value ="Repair")
@Data
public class Repair implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField("equipmentId")
    private Integer equipmentId;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private String type;

    /**
     * 
     */
    @TableField("lubricationPart")
    private String lubricationPart;

    /**
     * 
     */
    @TableField("oilType")
    private String oilType;

    /**
     * 
     */
    @TableField("lubricationMethod")
    private String lubricationMethod;

    /**
     * 
     */
    @TableField("oilAmount")
    private BigDecimal oilAmount;

    /**
     * 
     */
    @TableField("baseDate")
    private Date baseDate;

    /**
     * 
     */
    private Integer cycle;

    /**
     * 
     */
    @TableField("oilSupplyType")
    private String oilSupplyType;

    /**
     * 
     */
    @TableField("implementUnit")
    private String implementUnit;

    /**
     * 
     */
    @TableField("executionPositionCode")
    private String executionPositionCode;

    /**
     * 
     */
    @TableField("executionDep")
    private String executionDep;

    /**
     * 
     */
    private String standard;

    /**
     *
     */
    private boolean banned;

    @TableField(value = "createTime", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "updateTime", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField("equipmentName")
    private String equipmentName;

    @TableField("equipmentMajor")
    private String equipmentMajor;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}